import request from '../../../utils/request'

function getPointList(params) {
  return request({
    url: '/jklc/point/getList',
    method: 'GET',
    params
  })
}

function addPoint(data) {
  return request({
    url: '/jklc/point',
    method: 'POST',
    data
  })
}
function setPoint(data) {
  return request({
    url: '/jklc/point',
    method: 'PUT',
    data
  })
}
function delPoint(data) {
  return request({
    url: '/jklc/point',
    method: 'DELETE',
    data
  })
}
function exitUnit(data) {
  return request({
    url: '/jklc/element/close',
    method: 'POST',
    data
  })
}



export {
  getPointList,
  addPoint,
  setPoint,
  delPoint,
  exitUnit
}